package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.model.DefenseGroupPersonDto;
import com.example.demo.model.StudentSubjectTeacherDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 题目 Mapper 接口
 * </p>
 *
 * @author liwei
 * @since 2024-11-20
 */
public interface StudentSubjectTeacherMapper extends BaseMapper<StudentSubjectTeacherDto> {

    List<StudentSubjectTeacherDto> getStudentSubjectTeachers(@Param(Constants.WRAPPER)  QueryWrapper queryWrapper);


    Page<StudentSubjectTeacherDto> getStudentSubjectTeachers(Page req,@Param(Constants.WRAPPER)  QueryWrapper queryWrapper);
}
